package com.hot12345.common.util;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class XmlConfigUtilBase extends XmlProperties{
	
	private final Log logger = LogFactory.getLog(XmlConfigUtilBase.class);
	

	/**
	 * 天涯客ice ClassName配置
	 */
	private static XmlProperties defaultConfig = null;

	/**
	 * 初始化操作,读取配置文件
	 */
	static {		
		defaultConfig = new XmlProperties();
		defaultConfig.setSourceURL(XmlConfigUtilBase.class
				.getResource("/hot12345-fw-config.xml"));
		defaultConfig.setTimingReload(true);
		defaultConfig.initialize();
		
		
	}
	
	public static XmlProperties getDefaultConfig(){
		return defaultConfig;
	}
	
	
}
